Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@os-design/styles

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-design/styles

Common styles used in os-design. Emotion is used to define styles.

  • 1.0.56
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
94
increased by123.81%
Maintainers
1
Weekly downloads
 
Created
Source

@os-design/styles NPM version BundlePhobia

Common styles used in os-design. Emotion is used to define styles.

  • ellipsisStyles – Truncates a single line of text with an ellipsis (...).
  • enableScrollingStyles – Enables smooth scrolling.
  • horizontalPaddingStyles – Sets the base horizontal padding.
  • lineClampStyles – Truncates text at a specific number of lines with an ellipsis (...).
  • resetButtonStyles – Resets the default button styles.
  • resetFocusStyles – Resets the default focus styles.
  • resetUlStyles – Resets the default ul styles.
  • sizeStyles – Sets the size of the element using the size parameter, which can be either small, medium, large, or custom string (for example, 2em).
  • transitionStyles – Sets the transition of one or more css properties.

Installation

Install the package using the following command:

yarn add @os-design/styles

Install peer dependencies using the following command:

npx install-peerdeps @os-design/styles

See all the features in the Storybook.

FAQs

Package last updated on 26 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc